﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BiaoKaDY.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ChaoBiaoGL.BiaoKaDY" Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>表卡打印</title>
    <script src="../../../../JS/jquery.js"></script>
    <script src="../../../../JS/AddEditCancel.js"></script>
    <script type="text/javascript">
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            表卡打印
        </div>
        <table style="width: 100%; margin: auto; float: left;">
            <tr>
                <td align="left" style="width: 5%">水表号：
                </td>
                <td align="left" style="width: 18%">
                    <dx:ASPxTextBox runat="server" ID="txtShuiBiaoH" Width="150px"></dx:ASPxTextBox>
                </td>
                <td>
                    <dx:ASPxButton runat="server" ID="btnSearch" OnClick="btnSearch_Click" Text="查询"></dx:ASPxButton>
                </td>
            </tr>
        </table>
        <div id="divList">
            <dx:ASPxGridView ID="gvList" ClientInstanceName="gvList" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Theme="Aqua1" Width="100%" OnCustomCallback="gvList_CustomCallback">
                <Columns>
                    <dx:GridViewDataTextColumn Caption="用户号" FieldName="S_YONGHUH" Width="60">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="户名" FieldName="S_YONGHUM" Width="200">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="井编号" FieldName="S_QUSHUIK" Width="65">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="表编号" FieldName="S_SHUIBIAOBH" Width="85">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="地址" FieldName="S_DIZHI" Width="200">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="联系人" FieldName="S_LIANXIR" Width="80">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="联系部门" FieldName="S_LIANXIBM" Width="120">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="电话" FieldName="S_DIANHUA" Width="100">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="层次" FieldName="I_CENG" Width="50">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="深度" FieldName="S_SHENGDU" Width="50">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="口径" FieldName="I_KONGJING" Width="50">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="换表日期" FieldName="" Width="85">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="抄表日期" FieldName="" Width="85">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="抄码" FieldName="I_BENYUECM" Width="80">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="水量" FieldName="I_BENYUESL" Width="60">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="井类型" FieldName="S_YUZHIMC" Width="80">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="水量类别" FieldName="S_SHUILIANGLB" Width="80">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="原井编号" FieldName="S_LAOBIANH" Width="65">
                    </dx:GridViewDataTextColumn>
                </Columns>
                <Settings VerticalScrollBarMode="Visible" VerticalScrollableHeight="300" HorizontalScrollBarMode="Auto" />
                <SettingsPager Mode="EndlessPaging" PageSize="100" FirstPageButton-Visible="true" />
                <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
            </dx:ASPxGridView>
        </div>
        <div>
            <table style="width:100%;">
                <tr>
                    <td style="text-align: right;">
                        <dx:ASPxButton runat="server" ID="btnYuLan" Text="预览"></dx:ASPxButton>
                    </td>
                     <td>&nbsp;&nbsp;
                        <dx:ASPxButton runat="server" ID="btnDaYin" Text="打印"></dx:ASPxButton>
                    </td> 
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
